package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lixu
 */
public interface UserDao {
    List<User> findUserAll();

    void add(User user);

    List<User> findUserByUsername(@Param("name") String name);
}
